package cn.qidisoft.edu.hzjt.dao.zyc;

import cn.qidisoft.edu.hzjt.model.zyc.ScientificNotice;
import cn.qidisoft.edu.hzjt.model.zyc.ScientificNoticeReader;

import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;

public interface ScientificNoticeMapper {

    List<ScientificNotice> queryPageList(Map<String, Object> record, RowBounds rowBounds);

    int queryPageListcount(Map<String, Object> record);

    ScientificNotice queryByPK(ScientificNotice record);

    int insert(ScientificNotice record);

    void update(ScientificNotice record);

    void delete(ScientificNotice record);

    int validation(ScientificNotice record);

	ScientificNotice getPlanning(ScientificNotice sMagazine);

	List<ScientificNotice> getPlanningList(Map<String, Object> queryMap);

	void insertReader(List<ScientificNoticeReader> list);

	List<ScientificNoticeReader> getReader(Integer id);

	void deleteReader(Integer id);

}
